//
//  ScreenGoodsCollectionViewCell.m
//  JiuJiuShangCheng
//
//  Created by jiujiukeji on 2018/7/10.
//  Copyright © 2018年 jiujiukeji. All rights reserved.
//

#import "ScreenGoodsCollectionViewCell.h"

@implementation ScreenGoodsCollectionViewCell

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        [self setUpUI];
    }
    return self;
}
- (void)setUpUI
{
    self.textLB = [UILabel labelWithText:@"美味手工点心" textColor:UIColorFromRGB(0x333333) fontSize:12];
    _textLB.textAlignment = NSTextAlignmentCenter;
    _textLB.layer.cornerRadius = 4;
    _textLB.layer.borderColor = globalGray.CGColor;
    _textLB.layer.borderWidth = 1;
    [self addSubview:_textLB];
    [_textLB mas_makeConstraints:^(MASConstraintMaker *make) {
        make.center.equalTo(self);
        make.left.right.top.bottom.equalTo(self);
    }];
}

@end
